package com.gmstu.springframework.mvc.servlet;

import lombok.Data;

import java.lang.reflect.Method;
import java.util.regex.Pattern;

/**
 * @author John.zhang
 * @version Id: GpHandlerMapping, v 1.0 2020/8/22 21:31 ZhiYong Exp $
 */
@Data
public class GpHandlerMapping {

    private Object controller;

    private Method method;

    private Pattern pattern;


    public GpHandlerMapping(Object controller, Method method, Pattern pattern) {
        this.controller = controller;
        this.method = method;
        this.pattern = pattern;
    }
}
